<div id="page-wrapper">
    <div class="row headline" >
        <div class="col-md-12 headline-title" >
            <h3>人事模块 <img src="assets/img/angle-right.png" alt="" class="tubiao"></h3><h4>员工设置</h4>
        </div>
    </div>
    <div class="row daily-search">
        <div class="col-md-1" >
            <button class="search-content" style="background: #4da1ff;color: #fff;	box-shadow: #84bdff 0px 0px 8px;"  data-toggle="modal" data-target="#studentadd">添加信息</button>
        </div>
    </div>
    <div class="container-fluid text-center">
        <!-- 模态框（Modal） -->
        <div class="modal fade" id="studentadd" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
            <div class="modal-dialog" style="width: 1000px;">
                <div class="modal-content" >
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                        <h2 class="modal-title" ><span class="fa fa-edit">添加年级</span></h2>
                    </div>
                    <form action="index.php" method="post">
                        <div class="modal-body">
                            <!-- 提交表单到服务器 -->
                            <table width="100%" align="center">
                                <tbody class="modal-information">
                                <tr>
                                    <td  height="52">登录账号：</td>
                                    <td>
                                        <input type="text" class="form-control" style="background: #edf5ff;border: 1px solid #f2faff"  ng-model="loginname">
                                    </td>
                                    <td>员工姓名：</td>
                                    <td>
                                        <input type="text" class="form-control" style="background:#fffae7;border: 1px solid #FDF3CC;" ng-model="username">
                                    </td>
                                    <td>工作类型：</td>
                                    <td style="text-align: left" >
                                        <select class="tankuang" >
                                            <option value="" disabled selected style="display: none;"></option>
                                            <option value="0">咨询</option>
                                            <option value="1">教务</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td  height="52">登录密码：</td>
                                    <td>
                                        <input type="text" class="form-control" style="background: #edf5ff;border: 1px solid #f2faff"  ng-model="applyTheClass">
                                    </td>
                                    <td>校区：</td>
                                    <td>
                                        <input type="text" class="form-control" style="background:#fffae7;border: 1px solid #FDF3CC;" ng-model="applyTheClass">
                                    </td>
                                    <td >是否上班课：</td>
                                    <td style="padding-top:0px;text-align: left">
                                        <input name="Fruit" type="checkbox" value=""  style="width: 50px;"><span>是</span>
                                        <input name="Fruit" type="checkbox" value="" style="width: 50px;" ><span>否</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td  height="52">手机：</td>
                                    <td>
                                        <input type="text"  class="form-control" style="background:#fffae7;border: 1px solid #FDF3CC;" ng-model="applyTheClass">
                                    </td>
                                    <td>性别：</td>
                                    <td>
                                        <input type="text" class="form-control" style="background:#fffae7;border: 1px solid #FDF3CC;" ng-model="applyTheClass">
                                    </td>
                                    <td >生日：</td>
                                    <td>
                                        <input type="text" class="form-control" style="background:#fffae7;border: 1px solid #FDF3CC;" ng-model="applyTheClass">
                                    </td>
                                </tr>
                                <tr>
                                    <td  height="52">银行卡号：</td>
                                    <td>
                                        <input type="text" class="form-control" style="background: #eae7ff;border: 1px solid #e7e8ff"  ng-model="applyTheClass">
                                    </td>
                                    <td >身份证号：</td>
                                    <td>
                                        <input type="text" class="form-control" style="background: #eae7ff;border: 1px solid #e7e8ff"   ng-model="applyTheClass">
                                    </td>
                                    <td >员工状态：</td>
                                    <td>
                                        <input type="text" class="form-control" style="background: #eae7ff;border: 1px solid #e7e8ff"  ng-model="applyTheClass">
                                    </td>
                                </tr>
                                <tr>
                                    <td  height="52">微信号：</td>
                                    <td>
                                        <input type="text"  class="form-control"  style="background: #fef6f9;border: 1px solid #fce5ee" ng-model="applyTheClass">
                                    </td>
                                    <td>QQ号：</td>
                                    <td>
                                        <input type="text"  class="form-control"  style="background: #fef6f9;border: 1px solid #fce5ee" ng-model="applyTheClass">
                                    </td>
                                    <td >QQ邮箱：</td>
                                    <td >
                                        <input type="text"  class="form-control" style="background: #fef6f9;border: 1px solid #fce5ee" ng-model="applyTheClass">
                                    </td>
                                </tr>
                                <tr>
                                    <td  height="52">入职日期：</td>
                                    <td>
                                        <stafftime></stafftime>
                                    </td>
                                    <td>离职日期：</td>
                                    <td>
                                        <stafftime></stafftime>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="modal-footer">
                            <button type="submit" class="btn btn-primary-tf" >保存</button>
                        </div>
                    </form>
                </div>
                <!-- /.modal-content -->
            </div>
            <!-- /.modal -->
        </div>
    </div>
    <div>
        <table class="table ">
            <thead class="yuangong">
            <tr>
                <th>登陆账号</th>
                <th>员工姓名</th>
                <th>所属校区</th>
                <th>工作类型</th>
                <th>手机号</th>
                <th>工作状态</th>
            </tr>
            </thead>
            <tbody class="xuhao">
            <tr ng-repeat="data in datas ">
                <td>{{data.loginname}}</td>
                <td>{{data.username}}</td>
                <td>{{data.campus_name}}</td>
                <td>{{data.roles_name}}</td>
                <td>{{data.mobile}}</td>
                <td ng-if="data.state==2">离职</td>
                <td ng-if="data.state==1">在职</td>
            </tr>
            </tbody>
        </table>
    </div>

    <div class="row form-inline">
        <div class="col-md-8">
            <uib-pagination
                    total-items="page.totalCount"
                    ng-model="page.pageNo"
                    max-size="5"
                    class="samplePage pagination"
                    boundary-links="true"
                    force-ellipses="false"
                    first-text="首页"
                    last-text="末页"
                    previous-text="上一页"
                    next-text="下一页"
                    items-per-page="page.limit"
                    ng-change="pageChanged()"
                    boundary-link-numbers="true"
            >
            </uib-pagination>
        </div>
        <div class="col-md-4">
            <input type="text" class="form-control" style="width:100px;margin:25px 0" name="" ng-model="go" />
            <a class="btn btn-primary btn-sm" ng-click="setPage(go)">跳转</a>
        </div>
    </div>


</div>
